package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.DynamicContent;
import cn.wolfcode.trip.base.query.DynamicContentQueryObject;
import com.github.pagehelper.PageInfo;

public interface IDynamicContentService {
    /**
     * 新增一条朋友圈动态
     * @param dynamicContent
     */
    void save(DynamicContent dynamicContent,String[] visits);

    /**
     * 按页获取用户能够观看的朋友圈动态
     * @param qo
     * @return
     */
    PageInfo query(DynamicContentQueryObject qo);
}